<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册成功</title>
    <link href="../static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<% if (session.getAttribute("user") == null){%>
<jsp:forward page="login.jsp"/>
<%
    return;
    }
    %>
<div class="container">
    <div class="special">
        恭喜注册/登录成功！！！
    </div>
    <hr/>
    <div class="special">
        <ul>
            <li>您的姓名：${user.name}</li>
            <li>您的邮箱：${user.email}</li>
        </ul>
    </div>
</div>
<script src="../static/bootstrap/js/jquery-3.4.1.min.js"></script>
<script src="../static/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
